package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 班级表 jr_classtable
 *
 * @author ruoyi
 * @date 2019-02-27
 */
public class Classtable extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Integer id;
	/** 用户Id */
	private String userId;
	/** 班级名称 */
	private String classname;
	/** 班级人数 */
	private Integer number;
	/** 班级描述 */
	private String descs;
	/** 班级封面 */
	private String imgurl;
	/** 是否通过（1是 2否） */
	private String isTrue;
	/** 创建时间 */
	private Date createTime;
	/** 删除标记（0正常 1删除） */
	private String delflag;
	private String resourcesid;

	private Integer schoolId;

	public Integer getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Integer schoolId) {
		this.schoolId = schoolId;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getResourcesid() {
		return resourcesid;
	}

	public void setResourcesid(String resourcesid) {
		this.resourcesid = resourcesid;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId()
	{
		return id;
	}
	public void setUserId(String userId)
	{
		this.userId = userId;
	}

	public String getUserId()
	{
		return userId;
	}
	public void setClassname(String classname)
	{
		this.classname = classname;
	}

	public String getClassname()
	{
		return classname;
	}
	public void setNumber(Integer number)
	{
		this.number = number;
	}

	public Integer getNumber()
	{
		return number;
	}
	public void setDescs(String descs)
	{
		this.descs = descs;
	}

	public String getDescs()
	{
		return descs;
	}
	public void setImgurl(String imgurl)
	{
		this.imgurl = imgurl;
	}

	public String getImgurl()
	{
		return imgurl;
	}
	public void setIsTrue(String isTrue)
	{
		this.isTrue = isTrue;
	}

	public String getIsTrue()
	{
		return isTrue;
	}
	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getCreateTime()
	{
		return createTime;
	}
	public void setDelflag(String delflag)
	{
		this.delflag = delflag;
	}

	public String getDelflag()
	{
		return delflag;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("id", getId())
				.append("userId", getUserId())
				.append("classname", getClassname())
				.append("number", getNumber())
				.append("descs", getDescs())
				.append("imgurl", getImgurl())
				.append("isTrue", getIsTrue())
				.append("createTime", getCreateTime())
				.append("delflag", getDelflag())
				.toString();
	}
}
